
use strict;
use warnings;
use Module::Build;
my $build_class = 'Module::Build';

my $builder = $build_class->new(
  dist_name           => 'conewrap',
  license             => 'perl',
  dist_version_from => 'bin/conewrap',
  requires => {
    'Getopt::Helpful'          => 0.04,
    'File::Fu'                 => 'v0.0.5',
    'YAML::XS'                 => 0.29,
    'CAD::Format::DXF::Writer' => 'v0.0.1',
    'Graph::ChainBuilder'      => 'v0.0.1',
    'Math::Vec'                => 1.01,
  },
  recommends => {
    version => 0.74,
  },
  build_requires => {
    'Module::Build' => 0.26,
    'Test::More'    => 0,
  },
  add_to_cleanup      => [ qw(conewrap-* META.yml)],
  # create_makefile_pl => 'passthrough',
  meta_merge => {
    resources => {
      homepage => 'http://scratchcomputing.com/',
      #bugtracker =>
      #MailingList =>
      #repository =>
    }
  },
);

$builder->create_build_script();

# vi:syntax=perl:ts=2:sw=2:et:sta
